abstract class Decorator extends Component {
    private Component c;
    Decorator(Component component){
        c = component;
    }
    public void doSomething(){
        this.c.doSomething();
    }
    public void end(){
        this.c.end();
    }
}
